package com.happycat.mobile.model;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
/**
 * Module: UserBalancePetValueDetail.java
 *
 * @author liaoyong
 * @since JDK 1.8
 * @version 1.0
 * @date 2020-08-01
 * @Descriptions:
 */
@Data
@TableName(value = "user_balance_pet_value_detail")
@ApiModel
public class UserBalancePetValueDetail  {
	
	

	@TableId(value = "id", type = IdType.INPUT)
	@ApiModelProperty(value="id")
	private Integer id;
	
	
	@ApiModelProperty(value="明细类型")
	@TableField("type")
	private Integer type;

	@ApiModelProperty(value="类型描述:事项(1：充值，2、送礼物，3.开箱子，4购买商城背包物品，5、订单消费)")
	@TableField("text")
	private String text;

	
	@ApiModelProperty(value="金额")
	@TableField("amount")
	private Double amount;

	@ApiModelProperty(value="当前金额")
	@TableField("current_amount")
	private Double currentAmount;

	
	@ApiModelProperty(value="时间",example = "2020-01-01T12:18:48")
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@TableField("change_time")
	private Date changeTime;
	
	
	@ApiModelProperty(value="用户id")
	@TableField("account_id")
	private Long accountId;

	@ApiModelProperty(value="交易流水id, 多个逗号分隔")
	@TableField("trans_id")
	private String trans_id;

	@ApiModelProperty(value="币类型: 1人名币，0猫粮")
	@TableField("amount_type")
	private String amountType;

	@ApiModelProperty(value="收入:1, 支出:0")
	@TableField("symbol")
	private String symbol;
}